import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./stores";
import "./permission.ts";
import "./types/global.d.ts";
import "./styles/theme/index.scss";
window.addEventListener("beforeunload", () => {
    localStorage.setItem("IS_RELOAD", "pageReload");
});
const app = createApp(App);
app.use(ElementPlus);
app.use(store);
app.use(router).mount("#app");
